﻿using System.Collections.Generic;

namespace GYCTOAManagementSystemNewApi.Model.ViewModel
{
    public class TreeModel
    {
        /// <summary>
        /// 唯一标识Id
        /// </summary>
        public object OnlyId { get; set; }

        /// <summary>
        /// 数据值
        /// </summary>
        public object OnlyValue { get; set; }

        /// <summary>
        /// 父Id
        /// </summary>
        public object OnlyParentId { get; set; }

        /// <summary>
        /// 节点深度
        /// </summary>
        public int? OnlyLevel { get; set; } = 1;

        /// <summary>
        /// 显示的内容
        /// </summary>
        public string OnlyText { get; set; }

        /// <summary>
        /// 节点排序
        /// </summary>
        public int OnlySort { get; set; }

        /// <summary>
        /// 孩子节点
        /// </summary>
        public List<object> OnlyChildren { get; set; }
        /// <summary>
        /// 副本孩子节点(处理因特殊情况存在),需分开某些节点数据
        /// </summary>
        public List<object> CopyChildren { get; set; }
    }
}
